home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
World of Amiga
/
World of Amiga.iso
/
archive
/
music
/
oplay1231.lha
/
env
/
readme
< prev
Wrap
Text File
|
1992-10-28
|
2KB
|
40 lines
OmniPlay
version 1.21
A Multiple-Format Sound Player for the Amiga
THE ENVIRONMENT VARIABLE "OMNIPLAY"
===================================
These files are examples of the use of the OMNIPLAY environment
variable, which first appeared in OmniPlay v1.21. These variables
can be used to set your personal defaults for OmniPlay, much as you
would in a shell alias. To use one of these files as your own
default setting, copy the file to ENVARC:OMNIPLAY and to
ENV:OMNIPLAY. Any OmniPlay program of version 1.21 or greater will
read this variable and parse the contents as if it were a command
line, then it will do the command line itself. You can create your
own environment variable by creating a file called ENV:OMNIPLAY and
making its contents the OmniPlay options you wish to be default.
This works under any Kickstart, as long as you have the ENV: logical
device assigned somewhere.
If you have ENV: assigned to somewhere in RAM:, as most people do,
you should have some way of recovering the value of the variable at
startup. Kickstarts 2.0 and higher do this automatically; they
assign ENVARC: to a directory on your boot disk, and copy its
contents to ENV: at startup. If you don't use 2.0, you can either:
1) Get 2.0 or higher
2) a) make a directory on your boot disk to store the environment.
As an example, use sys:prefs/env-archive. (This is where
KS 2.0 puts it, so using this directory will allow you to
painlessly keep your environment when you upgrade.)
b) put a line in your startup-sequence to assign ENV: somewhere,
and another to copy the directory in 2a) to it. Using our
example:
c:makedir RAM:env
c:assign ENV: ram:env
c:copy sys:prefs/env-archive/#? env: